package com.javagroup.chessonline.chessman;

import java.io.Serializable;

public class ChessData implements Serializable {

	Chessman[] arrayChess;
	String header;
	int value;
	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public ChessData(String s,Chessman[] arr) {
		this.arrayChess = arr;
		this.header = s;
		value = -1;
	}
	public ChessData(String s) {
		this.arrayChess = null;
		this.header = s;
		value = -1;
	}
	public ChessData(String s,int i) {
		this.arrayChess = null;
		this.header = s;
		this.value = i;
	}

	public Chessman[] getArrayChess() {
		return arrayChess;
	}

	public void setArrayChess(Chessman[] arrayChess) {
		this.arrayChess = arrayChess;
	}

}
